package org.jeecg.modules.demo.weixin.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 分账接收方表
 * @Author: jeecg-boot
 * @Date:   2023-12-23
 * @Version: V1.0
 */
@Data
@TableName("smt_split_rule_com")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="smt_split_rule_com对象", description="分账接收方表")
public class SmtSplitRuleCom implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Integer id;
	/**门店id*/
	@Excel(name = "门店id", width = 15)
    @ApiModelProperty(value = "门店id")
    private String merchantId;
	/**门店名称*/
	@Excel(name = "门店名称", width = 15)
    @ApiModelProperty(value = "门店名称")
    private String merName;
	/**0商户1代理商2平台*/
	@Excel(name = "0商户1代理商2平台", width = 15)
    @ApiModelProperty(value = "0商户1代理商2平台")
    private String comType;
	/**分账方*/
	@Excel(name = "分账方", width = 15)
    @ApiModelProperty(value = "分账方")
    private String comId;
	/**分账方名字*/
	@Excel(name = "分账方名字", width = 15)
    @ApiModelProperty(value = "分账方名字")
    private String comName;
	/**分账比例*/
	@Excel(name = "分账比例", width = 15)
    @ApiModelProperty(value = "分账比例")
    private BigDecimal account;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
    private Integer orderNum;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    //--------------前端需要字段-------------------------
    private String name;
    private String amont;

    //------------------------------------------------




    /**描述*/
    @Excel(name = "子商户号", width = 15)
    @ApiModelProperty(value = "子商户号")
    private String subMchid;
    /**描述*/
    @Excel(name = "分账接收方类型", width = 15)
    @ApiModelProperty(value = "分账接收方类型")
    private String  type;

    /**描述*/
    @Excel(name = "与分账方的关系类型", width = 15)
    @ApiModelProperty(value = "与分账方的关系类型")
    private String  relationType;
    /**描述*/
    @Excel(name = "加密名称", width = 15)
    @ApiModelProperty(value = "加密名称")
    private String  aseName;
}
